#!/usr/bin/python3
# -*- coding: UTF-8 -*-

print('九九乘法表')

i = 1

while(i < 10):
  k = 1
  print('\r')
  while(k <= i):
    print('{}*{}={}'.format(k, i, k*i), end = ' ')
    k += 1
  i += 1
